package com.yanggu.bigdata.entity.po;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * Desc: 商品交易额统计实体类
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ProductStats {

    private String stt;

    private String edt;

    private Long sku_id;

    private String sku_name;

    private BigDecimal sku_price;

    private Long spu_id;

    private String spu_name;

    private Long tm_id;

    private String tm_name;

    private Long category3_id;

    private String category3_name;

    @Builder.Default
    private Long display_ct = 0L;

    @Builder.Default
    private Long click_ct = 0L;

    @Builder.Default
    private Long cart_ct = 0L;

    @Builder.Default
    private Long order_sku_num = 0L;

    @Builder.Default
    private BigDecimal order_amount = BigDecimal.ZERO;

    @Builder.Default
    private Long order_ct = 0L;

    @Builder.Default
    private BigDecimal payment_amount = BigDecimal.ZERO;

    @Builder.Default
    private Long refund_ct = 0L;

    @Builder.Default
    private BigDecimal refund_amount = BigDecimal.ZERO;

    @Builder.Default
    private Long comment_ct = 0L;

    @Builder.Default
    private Long good_comment_ct = 0L;

    private Long ts;

}